package com.kfyang.manualgear.dao;

import com.kfyang.manualgear.annotation.Dao;
import com.kfyang.manualgear.entity.ColEntity;

import java.util.List;

@Dao(entity = ColEntity.class)
public interface ColDao {
    ColEntity selectById(int id);

    List<ColEntity> selectAll();

    int insert(ColEntity entity);

    int insertAll(List<ColEntity> entityList);

    int update(ColEntity entity);

    int deleteById(int id);

    int deleteByIds(List<Integer> ids);;

}
